{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "f3ec961a",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "\n",
    "raw = pd.read_csv('gaze.csv')\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "68d757f3",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>gaze_timestamp</th>\n",
       "      <th>world_index</th>\n",
       "      <th>confidence</th>\n",
       "      <th>norm_pos_x</th>\n",
       "      <th>norm_pos_y</th>\n",
       "      <th>base_data</th>\n",
       "      <th>gaze_point_3d_x</th>\n",
       "      <th>gaze_point_3d_y</th>\n",
       "      <th>gaze_point_3d_z</th>\n",
       "      <th>eye_center0_3d_x</th>\n",
       "      <th>...</th>\n",
       "      <th>eye_center0_3d_z</th>\n",
       "      <th>gaze_normal0_x</th>\n",
       "      <th>gaze_normal0_y</th>\n",
       "      <th>gaze_normal0_z</th>\n",
       "      <th>eye_center1_3d_x</th>\n",
       "      <th>eye_center1_3d_y</th>\n",
       "      <th>eye_center1_3d_z</th>\n",
       "      <th>gaze_normal1_x</th>\n",
       "      <th>gaze_normal1_y</th>\n",
       "      <th>gaze_normal1_z</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>88150.776780</td>\n",
       "      <td>0</td>\n",
       "      <td>0.828006</td>\n",
       "      <td>0.531433</td>\n",
       "      <td>0.397509</td>\n",
       "      <td>88150.77678-0</td>\n",
       "      <td>28.369753</td>\n",
       "      <td>52.033135</td>\n",
       "      <td>705.121116</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.011527</td>\n",
       "      <td>0.051002</td>\n",
       "      <td>0.998632</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>88150.776787</td>\n",
       "      <td>0</td>\n",
       "      <td>0.459705</td>\n",
       "      <td>0.337051</td>\n",
       "      <td>0.186147</td>\n",
       "      <td>88150.776787-1</td>\n",
       "      <td>-142.869866</td>\n",
       "      <td>154.788121</td>\n",
       "      <td>684.981621</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.141761</td>\n",
       "      <td>0.192518</td>\n",
       "      <td>0.971000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>88150.779709</td>\n",
       "      <td>0</td>\n",
       "      <td>0.888789</td>\n",
       "      <td>0.543140</td>\n",
       "      <td>0.410668</td>\n",
       "      <td>88150.779709-0</td>\n",
       "      <td>38.942051</td>\n",
       "      <td>45.359863</td>\n",
       "      <td>705.232112</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.026087</td>\n",
       "      <td>0.041811</td>\n",
       "      <td>0.998785</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>88150.779759</td>\n",
       "      <td>0</td>\n",
       "      <td>0.550258</td>\n",
       "      <td>0.337923</td>\n",
       "      <td>0.173301</td>\n",
       "      <td>88150.779759-1</td>\n",
       "      <td>-141.879169</td>\n",
       "      <td>160.867779</td>\n",
       "      <td>683.893108</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.140397</td>\n",
       "      <td>0.200891</td>\n",
       "      <td>0.969501</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>88150.787485</td>\n",
       "      <td>1</td>\n",
       "      <td>0.502595</td>\n",
       "      <td>0.340109</td>\n",
       "      <td>0.142989</td>\n",
       "      <td>88150.787485-1</td>\n",
       "      <td>-139.404860</td>\n",
       "      <td>175.088321</td>\n",
       "      <td>681.151453</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.136989</td>\n",
       "      <td>0.220475</td>\n",
       "      <td>0.965725</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125259</th>\n",
       "      <td>88443.695600</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.995336</td>\n",
       "      <td>0.407831</td>\n",
       "      <td>0.413470</td>\n",
       "      <td>88443.69561-0 88443.695591-1</td>\n",
       "      <td>327.648915</td>\n",
       "      <td>-173.027524</td>\n",
       "      <td>-2777.243340</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.110854</td>\n",
       "      <td>0.041843</td>\n",
       "      <td>0.992955</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.130868</td>\n",
       "      <td>0.093021</td>\n",
       "      <td>0.987026</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125260</th>\n",
       "      <td>88443.697570</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.948733</td>\n",
       "      <td>0.407552</td>\n",
       "      <td>0.414731</td>\n",
       "      <td>88443.69561-0 88443.69953099999-1</td>\n",
       "      <td>311.054477</td>\n",
       "      <td>-161.381388</td>\n",
       "      <td>-2628.637408</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.110854</td>\n",
       "      <td>0.041843</td>\n",
       "      <td>0.992955</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.132037</td>\n",
       "      <td>0.091860</td>\n",
       "      <td>0.986979</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125261</th>\n",
       "      <td>88443.701580</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407467</td>\n",
       "      <td>0.414705</td>\n",
       "      <td>88443.703629-0 88443.69953099999-1</td>\n",
       "      <td>313.566509</td>\n",
       "      <td>-162.585330</td>\n",
       "      <td>-2647.420719</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.132037</td>\n",
       "      <td>0.091860</td>\n",
       "      <td>0.986979</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125262</th>\n",
       "      <td>88443.703608</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407160</td>\n",
       "      <td>0.415340</td>\n",
       "      <td>88443.703629-0 88443.703587-1</td>\n",
       "      <td>297.019831</td>\n",
       "      <td>-152.352987</td>\n",
       "      <td>-2499.428189</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.133311</td>\n",
       "      <td>0.091656</td>\n",
       "      <td>0.986827</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125263</th>\n",
       "      <td>88443.705574</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407637</td>\n",
       "      <td>0.413674</td>\n",
       "      <td>88443.703629-0 88443.70751899999-1</td>\n",
       "      <td>323.629974</td>\n",
       "      <td>-170.142461</td>\n",
       "      <td>-2737.404466</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.131320</td>\n",
       "      <td>0.092941</td>\n",
       "      <td>0.986974</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>125264 rows × 21 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        gaze_timestamp  world_index  confidence  norm_pos_x  norm_pos_y  \\\n",
       "0         88150.776780            0    0.828006    0.531433    0.397509   \n",
       "1         88150.776787            0    0.459705    0.337051    0.186147   \n",
       "2         88150.779709            0    0.888789    0.543140    0.410668   \n",
       "3         88150.779759            0    0.550258    0.337923    0.173301   \n",
       "4         88150.787485            1    0.502595    0.340109    0.142989   \n",
       "...                ...          ...         ...         ...         ...   \n",
       "125259    88443.695600         8788    0.995336    0.407831    0.413470   \n",
       "125260    88443.697570         8788    0.948733    0.407552    0.414731   \n",
       "125261    88443.701580         8788    0.945284    0.407467    0.414705   \n",
       "125262    88443.703608         8788    0.945284    0.407160    0.415340   \n",
       "125263    88443.705574         8788    0.945284    0.407637    0.413674   \n",
       "\n",
       "                                 base_data  gaze_point_3d_x  gaze_point_3d_y  \\\n",
       "0                            88150.77678-0        28.369753        52.033135   \n",
       "1                           88150.776787-1      -142.869866       154.788121   \n",
       "2                           88150.779709-0        38.942051        45.359863   \n",
       "3                           88150.779759-1      -141.879169       160.867779   \n",
       "4                           88150.787485-1      -139.404860       175.088321   \n",
       "...                                    ...              ...              ...   \n",
       "125259        88443.69561-0 88443.695591-1       327.648915      -173.027524   \n",
       "125260   88443.69561-0 88443.69953099999-1       311.054477      -161.381388   \n",
       "125261  88443.703629-0 88443.69953099999-1       313.566509      -162.585330   \n",
       "125262       88443.703629-0 88443.703587-1       297.019831      -152.352987   \n",
       "125263  88443.703629-0 88443.70751899999-1       323.629974      -170.142461   \n",
       "\n",
       "        gaze_point_3d_z  eye_center0_3d_x  ...  eye_center0_3d_z  \\\n",
       "0            705.121116         20.000000  ...        -20.000000   \n",
       "1            684.981621        -39.934928  ...        -20.075283   \n",
       "2            705.232112         20.000000  ...        -20.000000   \n",
       "3            683.893108        -39.934928  ...        -20.075283   \n",
       "4            681.151453        -39.934928  ...        -20.075283   \n",
       "...                 ...               ...  ...               ...   \n",
       "125259     -2777.243340         19.888755  ...        -20.707271   \n",
       "125260     -2628.637408         19.888755  ...        -20.707271   \n",
       "125261     -2647.420719         19.888755  ...        -20.707271   \n",
       "125262     -2499.428189         19.888755  ...        -20.707271   \n",
       "125263     -2737.404466         19.888755  ...        -20.707271   \n",
       "\n",
       "        gaze_normal0_x  gaze_normal0_y  gaze_normal0_z  eye_center1_3d_x  \\\n",
       "0             0.011527        0.051002        0.998632               NaN   \n",
       "1            -0.141761        0.192518        0.971000               NaN   \n",
       "2             0.026087        0.041811        0.998785               NaN   \n",
       "3            -0.140397        0.200891        0.969501               NaN   \n",
       "4            -0.136989        0.220475        0.965725               NaN   \n",
       "...                ...             ...             ...               ...   \n",
       "125259       -0.110854        0.041843        0.992955        -37.372594   \n",
       "125260       -0.110854        0.041843        0.992955        -37.372594   \n",
       "125261       -0.111009        0.041794        0.992940        -37.372594   \n",
       "125262       -0.111009        0.041794        0.992940        -37.372594   \n",
       "125263       -0.111009        0.041794        0.992940        -37.372594   \n",
       "\n",
       "        eye_center1_3d_y  eye_center1_3d_z  gaze_normal1_x  gaze_normal1_y  \\\n",
       "0                    NaN               NaN             NaN             NaN   \n",
       "1                    NaN               NaN             NaN             NaN   \n",
       "2                    NaN               NaN             NaN             NaN   \n",
       "3                    NaN               NaN             NaN             NaN   \n",
       "4                    NaN               NaN             NaN             NaN   \n",
       "...                  ...               ...             ...             ...   \n",
       "125259         14.763454        -23.294339       -0.130868        0.093021   \n",
       "125260         14.763454        -23.294339       -0.132037        0.091860   \n",
       "125261         14.763454        -23.294339       -0.132037        0.091860   \n",
       "125262         14.763454        -23.294339       -0.133311        0.091656   \n",
       "125263         14.763454        -23.294339       -0.131320        0.092941   \n",
       "\n",
       "        gaze_normal1_z  \n",
       "0                  NaN  \n",
       "1                  NaN  \n",
       "2                  NaN  \n",
       "3                  NaN  \n",
       "4                  NaN  \n",
       "...                ...  \n",
       "125259        0.987026  \n",
       "125260        0.986979  \n",
       "125261        0.986979  \n",
       "125262        0.986827  \n",
       "125263        0.986974  \n",
       "\n",
       "[125264 rows x 21 columns]"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "raw"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "1350ceca",
   "metadata": {},
   "source": [
    "第一题"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "1297a417",
   "metadata": {},
   "outputs": [],
   "source": [
    "n1 = raw[raw.confidence >= 0.9]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "0e2d22c5",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "87442"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(n1)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b4fd3aed",
   "metadata": {},
   "source": [
    "第二题"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "4510aa0b",
   "metadata": {},
   "outputs": [],
   "source": [
    "n2 = n1.copy()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "f7abd6b6",
   "metadata": {},
   "outputs": [],
   "source": [
    "pos = pd.Series(n1['norm_pos_x'])\n",
    "std = np.std(pos)\n",
    "avg = np.average(pos)\n",
    "n2 = n2[n2.norm_pos_x < avg + 3*std]\n",
    "n2 = n2[n2.norm_pos_x > avg - 3*std]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "3d6d74a9",
   "metadata": {},
   "outputs": [],
   "source": [
    "pos = pd.Series(n1['norm_pos_y'])\n",
    "std = np.std(pos)\n",
    "avg = np.average(pos)\n",
    "n2 = n2[n2.norm_pos_y < avg + 3*std]\n",
    "n2 = n2[n2.norm_pos_y > avg - 3*std]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "e1a1d15a",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>gaze_timestamp</th>\n",
       "      <th>world_index</th>\n",
       "      <th>confidence</th>\n",
       "      <th>norm_pos_x</th>\n",
       "      <th>norm_pos_y</th>\n",
       "      <th>base_data</th>\n",
       "      <th>gaze_point_3d_x</th>\n",
       "      <th>gaze_point_3d_y</th>\n",
       "      <th>gaze_point_3d_z</th>\n",
       "      <th>eye_center0_3d_x</th>\n",
       "      <th>...</th>\n",
       "      <th>eye_center0_3d_z</th>\n",
       "      <th>gaze_normal0_x</th>\n",
       "      <th>gaze_normal0_y</th>\n",
       "      <th>gaze_normal0_z</th>\n",
       "      <th>eye_center1_3d_x</th>\n",
       "      <th>eye_center1_3d_y</th>\n",
       "      <th>eye_center1_3d_z</th>\n",
       "      <th>gaze_normal1_x</th>\n",
       "      <th>gaze_normal1_y</th>\n",
       "      <th>gaze_normal1_z</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>88150.825638</td>\n",
       "      <td>2</td>\n",
       "      <td>0.915197</td>\n",
       "      <td>0.493612</td>\n",
       "      <td>0.398950</td>\n",
       "      <td>88150.827729-0 88150.823548-1</td>\n",
       "      <td>2.412810</td>\n",
       "      <td>-21.468145</td>\n",
       "      <td>-295.071057</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.062883</td>\n",
       "      <td>0.025100</td>\n",
       "      <td>0.997705</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.150041</td>\n",
       "      <td>0.234536</td>\n",
       "      <td>0.960458</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>88150.827729</td>\n",
       "      <td>2</td>\n",
       "      <td>0.915197</td>\n",
       "      <td>0.493561</td>\n",
       "      <td>0.399305</td>\n",
       "      <td>88150.827729-0 88150.827729-1</td>\n",
       "      <td>2.429837</td>\n",
       "      <td>-21.374413</td>\n",
       "      <td>-294.819200</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.062883</td>\n",
       "      <td>0.025100</td>\n",
       "      <td>0.997705</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.150243</td>\n",
       "      <td>0.234115</td>\n",
       "      <td>0.960530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>88150.829663</td>\n",
       "      <td>2</td>\n",
       "      <td>0.915197</td>\n",
       "      <td>0.493570</td>\n",
       "      <td>0.399542</td>\n",
       "      <td>88150.827729-0 88150.83159799999-1</td>\n",
       "      <td>2.427118</td>\n",
       "      <td>-21.328193</td>\n",
       "      <td>-294.874516</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.062883</td>\n",
       "      <td>0.025100</td>\n",
       "      <td>0.997705</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.150210</td>\n",
       "      <td>0.233747</td>\n",
       "      <td>0.960624</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>88150.866015</td>\n",
       "      <td>3</td>\n",
       "      <td>0.922197</td>\n",
       "      <td>0.492592</td>\n",
       "      <td>0.398705</td>\n",
       "      <td>88150.867514-0 88150.86451599999-1</td>\n",
       "      <td>2.827911</td>\n",
       "      <td>-21.750938</td>\n",
       "      <td>-298.233245</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.060717</td>\n",
       "      <td>0.025220</td>\n",
       "      <td>0.997836</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.149814</td>\n",
       "      <td>0.233510</td>\n",
       "      <td>0.960744</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>88150.869620</td>\n",
       "      <td>3</td>\n",
       "      <td>0.922197</td>\n",
       "      <td>0.492635</td>\n",
       "      <td>0.398814</td>\n",
       "      <td>88150.867514-0 88150.871726-1</td>\n",
       "      <td>2.813774</td>\n",
       "      <td>-21.744854</td>\n",
       "      <td>-298.471253</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.060717</td>\n",
       "      <td>0.025220</td>\n",
       "      <td>0.997836</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.149645</td>\n",
       "      <td>0.233258</td>\n",
       "      <td>0.960831</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125259</th>\n",
       "      <td>88443.695600</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.995336</td>\n",
       "      <td>0.407831</td>\n",
       "      <td>0.413470</td>\n",
       "      <td>88443.69561-0 88443.695591-1</td>\n",
       "      <td>327.648915</td>\n",
       "      <td>-173.027524</td>\n",
       "      <td>-2777.243340</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.110854</td>\n",
       "      <td>0.041843</td>\n",
       "      <td>0.992955</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.130868</td>\n",
       "      <td>0.093021</td>\n",
       "      <td>0.987026</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125260</th>\n",
       "      <td>88443.697570</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.948733</td>\n",
       "      <td>0.407552</td>\n",
       "      <td>0.414731</td>\n",
       "      <td>88443.69561-0 88443.69953099999-1</td>\n",
       "      <td>311.054477</td>\n",
       "      <td>-161.381388</td>\n",
       "      <td>-2628.637408</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.110854</td>\n",
       "      <td>0.041843</td>\n",
       "      <td>0.992955</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.132037</td>\n",
       "      <td>0.091860</td>\n",
       "      <td>0.986979</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125261</th>\n",
       "      <td>88443.701580</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407467</td>\n",
       "      <td>0.414705</td>\n",
       "      <td>88443.703629-0 88443.69953099999-1</td>\n",
       "      <td>313.566509</td>\n",
       "      <td>-162.585330</td>\n",
       "      <td>-2647.420719</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.132037</td>\n",
       "      <td>0.091860</td>\n",
       "      <td>0.986979</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125262</th>\n",
       "      <td>88443.703608</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407160</td>\n",
       "      <td>0.415340</td>\n",
       "      <td>88443.703629-0 88443.703587-1</td>\n",
       "      <td>297.019831</td>\n",
       "      <td>-152.352987</td>\n",
       "      <td>-2499.428189</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.133311</td>\n",
       "      <td>0.091656</td>\n",
       "      <td>0.986827</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125263</th>\n",
       "      <td>88443.705574</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407637</td>\n",
       "      <td>0.413674</td>\n",
       "      <td>88443.703629-0 88443.70751899999-1</td>\n",
       "      <td>323.629974</td>\n",
       "      <td>-170.142461</td>\n",
       "      <td>-2737.404466</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.131320</td>\n",
       "      <td>0.092941</td>\n",
       "      <td>0.986974</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>86185 rows × 21 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        gaze_timestamp  world_index  confidence  norm_pos_x  norm_pos_y  \\\n",
       "21        88150.825638            2    0.915197    0.493612    0.398950   \n",
       "22        88150.827729            2    0.915197    0.493561    0.399305   \n",
       "23        88150.829663            2    0.915197    0.493570    0.399542   \n",
       "39        88150.866015            3    0.922197    0.492592    0.398705   \n",
       "40        88150.869620            3    0.922197    0.492635    0.398814   \n",
       "...                ...          ...         ...         ...         ...   \n",
       "125259    88443.695600         8788    0.995336    0.407831    0.413470   \n",
       "125260    88443.697570         8788    0.948733    0.407552    0.414731   \n",
       "125261    88443.701580         8788    0.945284    0.407467    0.414705   \n",
       "125262    88443.703608         8788    0.945284    0.407160    0.415340   \n",
       "125263    88443.705574         8788    0.945284    0.407637    0.413674   \n",
       "\n",
       "                                 base_data  gaze_point_3d_x  gaze_point_3d_y  \\\n",
       "21           88150.827729-0 88150.823548-1         2.412810       -21.468145   \n",
       "22           88150.827729-0 88150.827729-1         2.429837       -21.374413   \n",
       "23      88150.827729-0 88150.83159799999-1         2.427118       -21.328193   \n",
       "39      88150.867514-0 88150.86451599999-1         2.827911       -21.750938   \n",
       "40           88150.867514-0 88150.871726-1         2.813774       -21.744854   \n",
       "...                                    ...              ...              ...   \n",
       "125259        88443.69561-0 88443.695591-1       327.648915      -173.027524   \n",
       "125260   88443.69561-0 88443.69953099999-1       311.054477      -161.381388   \n",
       "125261  88443.703629-0 88443.69953099999-1       313.566509      -162.585330   \n",
       "125262       88443.703629-0 88443.703587-1       297.019831      -152.352987   \n",
       "125263  88443.703629-0 88443.70751899999-1       323.629974      -170.142461   \n",
       "\n",
       "        gaze_point_3d_z  eye_center0_3d_x  ...  eye_center0_3d_z  \\\n",
       "21          -295.071057         20.000000  ...        -20.000000   \n",
       "22          -294.819200         20.000000  ...        -20.000000   \n",
       "23          -294.874516         20.000000  ...        -20.000000   \n",
       "39          -298.233245         20.000000  ...        -20.000000   \n",
       "40          -298.471253         20.000000  ...        -20.000000   \n",
       "...                 ...               ...  ...               ...   \n",
       "125259     -2777.243340         19.888755  ...        -20.707271   \n",
       "125260     -2628.637408         19.888755  ...        -20.707271   \n",
       "125261     -2647.420719         19.888755  ...        -20.707271   \n",
       "125262     -2499.428189         19.888755  ...        -20.707271   \n",
       "125263     -2737.404466         19.888755  ...        -20.707271   \n",
       "\n",
       "        gaze_normal0_x  gaze_normal0_y  gaze_normal0_z  eye_center1_3d_x  \\\n",
       "21            0.062883        0.025100        0.997705        -39.934928   \n",
       "22            0.062883        0.025100        0.997705        -39.934928   \n",
       "23            0.062883        0.025100        0.997705        -39.934928   \n",
       "39            0.060717        0.025220        0.997836        -39.934928   \n",
       "40            0.060717        0.025220        0.997836        -39.934928   \n",
       "...                ...             ...             ...               ...   \n",
       "125259       -0.110854        0.041843        0.992955        -37.372594   \n",
       "125260       -0.110854        0.041843        0.992955        -37.372594   \n",
       "125261       -0.111009        0.041794        0.992940        -37.372594   \n",
       "125262       -0.111009        0.041794        0.992940        -37.372594   \n",
       "125263       -0.111009        0.041794        0.992940        -37.372594   \n",
       "\n",
       "        eye_center1_3d_y  eye_center1_3d_z  gaze_normal1_x  gaze_normal1_y  \\\n",
       "21             14.997919        -20.075283       -0.150041        0.234536   \n",
       "22             14.997919        -20.075283       -0.150243        0.234115   \n",
       "23             14.997919        -20.075283       -0.150210        0.233747   \n",
       "39             14.997919        -20.075283       -0.149814        0.233510   \n",
       "40             14.997919        -20.075283       -0.149645        0.233258   \n",
       "...                  ...               ...             ...             ...   \n",
       "125259         14.763454        -23.294339       -0.130868        0.093021   \n",
       "125260         14.763454        -23.294339       -0.132037        0.091860   \n",
       "125261         14.763454        -23.294339       -0.132037        0.091860   \n",
       "125262         14.763454        -23.294339       -0.133311        0.091656   \n",
       "125263         14.763454        -23.294339       -0.131320        0.092941   \n",
       "\n",
       "        gaze_normal1_z  \n",
       "21            0.960458  \n",
       "22            0.960530  \n",
       "23            0.960624  \n",
       "39            0.960744  \n",
       "40            0.960831  \n",
       "...                ...  \n",
       "125259        0.987026  \n",
       "125260        0.986979  \n",
       "125261        0.986979  \n",
       "125262        0.986827  \n",
       "125263        0.986974  \n",
       "\n",
       "[86185 rows x 21 columns]"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "n2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "a574eafa",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "86185"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(n2)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b2130b44",
   "metadata": {},
   "source": [
    "第三题"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "26c3d579",
   "metadata": {},
   "outputs": [],
   "source": [
    "n3 = n2.copy()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "0b1a7190",
   "metadata": {},
   "outputs": [],
   "source": [
    "n3['gaze_timestamp'] = pd.to_datetime(n3['gaze_timestamp'], unit = \"s\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "fb8d96f1",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>gaze_timestamp</th>\n",
       "      <th>world_index</th>\n",
       "      <th>confidence</th>\n",
       "      <th>norm_pos_x</th>\n",
       "      <th>norm_pos_y</th>\n",
       "      <th>base_data</th>\n",
       "      <th>gaze_point_3d_x</th>\n",
       "      <th>gaze_point_3d_y</th>\n",
       "      <th>gaze_point_3d_z</th>\n",
       "      <th>eye_center0_3d_x</th>\n",
       "      <th>...</th>\n",
       "      <th>eye_center0_3d_z</th>\n",
       "      <th>gaze_normal0_x</th>\n",
       "      <th>gaze_normal0_y</th>\n",
       "      <th>gaze_normal0_z</th>\n",
       "      <th>eye_center1_3d_x</th>\n",
       "      <th>eye_center1_3d_y</th>\n",
       "      <th>eye_center1_3d_z</th>\n",
       "      <th>gaze_normal1_x</th>\n",
       "      <th>gaze_normal1_y</th>\n",
       "      <th>gaze_normal1_z</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>1970-01-02 00:29:10.825638500</td>\n",
       "      <td>2</td>\n",
       "      <td>0.915197</td>\n",
       "      <td>0.493612</td>\n",
       "      <td>0.398950</td>\n",
       "      <td>88150.827729-0 88150.823548-1</td>\n",
       "      <td>2.412810</td>\n",
       "      <td>-21.468145</td>\n",
       "      <td>-295.071057</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.062883</td>\n",
       "      <td>0.025100</td>\n",
       "      <td>0.997705</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.150041</td>\n",
       "      <td>0.234536</td>\n",
       "      <td>0.960458</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>1970-01-02 00:29:10.827729000</td>\n",
       "      <td>2</td>\n",
       "      <td>0.915197</td>\n",
       "      <td>0.493561</td>\n",
       "      <td>0.399305</td>\n",
       "      <td>88150.827729-0 88150.827729-1</td>\n",
       "      <td>2.429837</td>\n",
       "      <td>-21.374413</td>\n",
       "      <td>-294.819200</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.062883</td>\n",
       "      <td>0.025100</td>\n",
       "      <td>0.997705</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.150243</td>\n",
       "      <td>0.234115</td>\n",
       "      <td>0.960530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>1970-01-02 00:29:10.829663499</td>\n",
       "      <td>2</td>\n",
       "      <td>0.915197</td>\n",
       "      <td>0.493570</td>\n",
       "      <td>0.399542</td>\n",
       "      <td>88150.827729-0 88150.83159799999-1</td>\n",
       "      <td>2.427118</td>\n",
       "      <td>-21.328193</td>\n",
       "      <td>-294.874516</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.062883</td>\n",
       "      <td>0.025100</td>\n",
       "      <td>0.997705</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.150210</td>\n",
       "      <td>0.233747</td>\n",
       "      <td>0.960624</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>1970-01-02 00:29:10.866015000</td>\n",
       "      <td>3</td>\n",
       "      <td>0.922197</td>\n",
       "      <td>0.492592</td>\n",
       "      <td>0.398705</td>\n",
       "      <td>88150.867514-0 88150.86451599999-1</td>\n",
       "      <td>2.827911</td>\n",
       "      <td>-21.750938</td>\n",
       "      <td>-298.233245</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.060717</td>\n",
       "      <td>0.025220</td>\n",
       "      <td>0.997836</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.149814</td>\n",
       "      <td>0.233510</td>\n",
       "      <td>0.960744</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>1970-01-02 00:29:10.869620000</td>\n",
       "      <td>3</td>\n",
       "      <td>0.922197</td>\n",
       "      <td>0.492635</td>\n",
       "      <td>0.398814</td>\n",
       "      <td>88150.867514-0 88150.871726-1</td>\n",
       "      <td>2.813774</td>\n",
       "      <td>-21.744854</td>\n",
       "      <td>-298.471253</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.060717</td>\n",
       "      <td>0.025220</td>\n",
       "      <td>0.997836</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.149645</td>\n",
       "      <td>0.233258</td>\n",
       "      <td>0.960831</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125259</th>\n",
       "      <td>1970-01-02 00:34:03.695600500</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.995336</td>\n",
       "      <td>0.407831</td>\n",
       "      <td>0.413470</td>\n",
       "      <td>88443.69561-0 88443.695591-1</td>\n",
       "      <td>327.648915</td>\n",
       "      <td>-173.027524</td>\n",
       "      <td>-2777.243340</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.110854</td>\n",
       "      <td>0.041843</td>\n",
       "      <td>0.992955</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.130868</td>\n",
       "      <td>0.093021</td>\n",
       "      <td>0.987026</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125260</th>\n",
       "      <td>1970-01-02 00:34:03.697570500</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.948733</td>\n",
       "      <td>0.407552</td>\n",
       "      <td>0.414731</td>\n",
       "      <td>88443.69561-0 88443.69953099999-1</td>\n",
       "      <td>311.054477</td>\n",
       "      <td>-161.381388</td>\n",
       "      <td>-2628.637408</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.110854</td>\n",
       "      <td>0.041843</td>\n",
       "      <td>0.992955</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.132037</td>\n",
       "      <td>0.091860</td>\n",
       "      <td>0.986979</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125261</th>\n",
       "      <td>1970-01-02 00:34:03.701580000</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407467</td>\n",
       "      <td>0.414705</td>\n",
       "      <td>88443.703629-0 88443.69953099999-1</td>\n",
       "      <td>313.566509</td>\n",
       "      <td>-162.585330</td>\n",
       "      <td>-2647.420719</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.132037</td>\n",
       "      <td>0.091860</td>\n",
       "      <td>0.986979</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125262</th>\n",
       "      <td>1970-01-02 00:34:03.703608000</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407160</td>\n",
       "      <td>0.415340</td>\n",
       "      <td>88443.703629-0 88443.703587-1</td>\n",
       "      <td>297.019831</td>\n",
       "      <td>-152.352987</td>\n",
       "      <td>-2499.428189</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.133311</td>\n",
       "      <td>0.091656</td>\n",
       "      <td>0.986827</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125263</th>\n",
       "      <td>1970-01-02 00:34:03.705574000</td>\n",
       "      <td>8788</td>\n",
       "      <td>0.945284</td>\n",
       "      <td>0.407637</td>\n",
       "      <td>0.413674</td>\n",
       "      <td>88443.703629-0 88443.70751899999-1</td>\n",
       "      <td>323.629974</td>\n",
       "      <td>-170.142461</td>\n",
       "      <td>-2737.404466</td>\n",
       "      <td>19.888755</td>\n",
       "      <td>...</td>\n",
       "      <td>-20.707271</td>\n",
       "      <td>-0.111009</td>\n",
       "      <td>0.041794</td>\n",
       "      <td>0.992940</td>\n",
       "      <td>-37.372594</td>\n",
       "      <td>14.763454</td>\n",
       "      <td>-23.294339</td>\n",
       "      <td>-0.131320</td>\n",
       "      <td>0.092941</td>\n",
       "      <td>0.986974</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>86185 rows × 21 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                      gaze_timestamp  world_index  confidence  norm_pos_x  \\\n",
       "21     1970-01-02 00:29:10.825638500            2    0.915197    0.493612   \n",
       "22     1970-01-02 00:29:10.827729000            2    0.915197    0.493561   \n",
       "23     1970-01-02 00:29:10.829663499            2    0.915197    0.493570   \n",
       "39     1970-01-02 00:29:10.866015000            3    0.922197    0.492592   \n",
       "40     1970-01-02 00:29:10.869620000            3    0.922197    0.492635   \n",
       "...                              ...          ...         ...         ...   \n",
       "125259 1970-01-02 00:34:03.695600500         8788    0.995336    0.407831   \n",
       "125260 1970-01-02 00:34:03.697570500         8788    0.948733    0.407552   \n",
       "125261 1970-01-02 00:34:03.701580000         8788    0.945284    0.407467   \n",
       "125262 1970-01-02 00:34:03.703608000         8788    0.945284    0.407160   \n",
       "125263 1970-01-02 00:34:03.705574000         8788    0.945284    0.407637   \n",
       "\n",
       "        norm_pos_y                           base_data  gaze_point_3d_x  \\\n",
       "21        0.398950       88150.827729-0 88150.823548-1         2.412810   \n",
       "22        0.399305       88150.827729-0 88150.827729-1         2.429837   \n",
       "23        0.399542  88150.827729-0 88150.83159799999-1         2.427118   \n",
       "39        0.398705  88150.867514-0 88150.86451599999-1         2.827911   \n",
       "40        0.398814       88150.867514-0 88150.871726-1         2.813774   \n",
       "...            ...                                 ...              ...   \n",
       "125259    0.413470        88443.69561-0 88443.695591-1       327.648915   \n",
       "125260    0.414731   88443.69561-0 88443.69953099999-1       311.054477   \n",
       "125261    0.414705  88443.703629-0 88443.69953099999-1       313.566509   \n",
       "125262    0.415340       88443.703629-0 88443.703587-1       297.019831   \n",
       "125263    0.413674  88443.703629-0 88443.70751899999-1       323.629974   \n",
       "\n",
       "        gaze_point_3d_y  gaze_point_3d_z  eye_center0_3d_x  ...  \\\n",
       "21           -21.468145      -295.071057         20.000000  ...   \n",
       "22           -21.374413      -294.819200         20.000000  ...   \n",
       "23           -21.328193      -294.874516         20.000000  ...   \n",
       "39           -21.750938      -298.233245         20.000000  ...   \n",
       "40           -21.744854      -298.471253         20.000000  ...   \n",
       "...                 ...              ...               ...  ...   \n",
       "125259      -173.027524     -2777.243340         19.888755  ...   \n",
       "125260      -161.381388     -2628.637408         19.888755  ...   \n",
       "125261      -162.585330     -2647.420719         19.888755  ...   \n",
       "125262      -152.352987     -2499.428189         19.888755  ...   \n",
       "125263      -170.142461     -2737.404466         19.888755  ...   \n",
       "\n",
       "        eye_center0_3d_z  gaze_normal0_x  gaze_normal0_y  gaze_normal0_z  \\\n",
       "21            -20.000000        0.062883        0.025100        0.997705   \n",
       "22            -20.000000        0.062883        0.025100        0.997705   \n",
       "23            -20.000000        0.062883        0.025100        0.997705   \n",
       "39            -20.000000        0.060717        0.025220        0.997836   \n",
       "40            -20.000000        0.060717        0.025220        0.997836   \n",
       "...                  ...             ...             ...             ...   \n",
       "125259        -20.707271       -0.110854        0.041843        0.992955   \n",
       "125260        -20.707271       -0.110854        0.041843        0.992955   \n",
       "125261        -20.707271       -0.111009        0.041794        0.992940   \n",
       "125262        -20.707271       -0.111009        0.041794        0.992940   \n",
       "125263        -20.707271       -0.111009        0.041794        0.992940   \n",
       "\n",
       "        eye_center1_3d_x  eye_center1_3d_y  eye_center1_3d_z  gaze_normal1_x  \\\n",
       "21            -39.934928         14.997919        -20.075283       -0.150041   \n",
       "22            -39.934928         14.997919        -20.075283       -0.150243   \n",
       "23            -39.934928         14.997919        -20.075283       -0.150210   \n",
       "39            -39.934928         14.997919        -20.075283       -0.149814   \n",
       "40            -39.934928         14.997919        -20.075283       -0.149645   \n",
       "...                  ...               ...               ...             ...   \n",
       "125259        -37.372594         14.763454        -23.294339       -0.130868   \n",
       "125260        -37.372594         14.763454        -23.294339       -0.132037   \n",
       "125261        -37.372594         14.763454        -23.294339       -0.132037   \n",
       "125262        -37.372594         14.763454        -23.294339       -0.133311   \n",
       "125263        -37.372594         14.763454        -23.294339       -0.131320   \n",
       "\n",
       "        gaze_normal1_y  gaze_normal1_z  \n",
       "21            0.234536        0.960458  \n",
       "22            0.234115        0.960530  \n",
       "23            0.233747        0.960624  \n",
       "39            0.233510        0.960744  \n",
       "40            0.233258        0.960831  \n",
       "...                ...             ...  \n",
       "125259        0.093021        0.987026  \n",
       "125260        0.091860        0.986979  \n",
       "125261        0.091860        0.986979  \n",
       "125262        0.091656        0.986827  \n",
       "125263        0.092941        0.986974  \n",
       "\n",
       "[86185 rows x 21 columns]"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "n3"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9e4752e3",
   "metadata": {},
   "source": [
    "第四题"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "d5607c61",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "采样率为 427.62610766083765\n"
     ]
    }
   ],
   "source": [
    "start_time = raw.gaze_timestamp[0]\n",
    "end_time = raw.gaze_timestamp[125263]\n",
    "print(\"采样率为\",len(raw.gaze_timestamp) / (end_time - start_time))"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "00785dee",
   "metadata": {},
   "source": [
    "第五题"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "97c95819",
   "metadata": {},
   "outputs": [],
   "source": [
    "n5 = raw.copy()\n",
    "n5['gaze_timestamp'] = pd.to_datetime(n5['gaze_timestamp'], unit = \"s\")\n",
    "n5.set_index('gaze_timestamp', inplace=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "abe36e90",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<pandas.core.resample.DatetimeIndexResampler object at 0x000001E9F7817130>"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "n5.resample('0.01S')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "64e77514",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>world_index</th>\n",
       "      <th>confidence</th>\n",
       "      <th>norm_pos_x</th>\n",
       "      <th>norm_pos_y</th>\n",
       "      <th>base_data</th>\n",
       "      <th>gaze_point_3d_x</th>\n",
       "      <th>gaze_point_3d_y</th>\n",
       "      <th>gaze_point_3d_z</th>\n",
       "      <th>eye_center0_3d_x</th>\n",
       "      <th>eye_center0_3d_y</th>\n",
       "      <th>eye_center0_3d_z</th>\n",
       "      <th>gaze_normal0_x</th>\n",
       "      <th>gaze_normal0_y</th>\n",
       "      <th>gaze_normal0_z</th>\n",
       "      <th>eye_center1_3d_x</th>\n",
       "      <th>eye_center1_3d_y</th>\n",
       "      <th>eye_center1_3d_z</th>\n",
       "      <th>gaze_normal1_x</th>\n",
       "      <th>gaze_normal1_y</th>\n",
       "      <th>gaze_normal1_z</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>gaze_timestamp</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.776780000</th>\n",
       "      <td>0</td>\n",
       "      <td>0.828006</td>\n",
       "      <td>0.531433</td>\n",
       "      <td>0.397509</td>\n",
       "      <td>88150.77678-0</td>\n",
       "      <td>28.369753</td>\n",
       "      <td>52.033135</td>\n",
       "      <td>705.121116</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.011527</td>\n",
       "      <td>0.051002</td>\n",
       "      <td>0.998632</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.776787000</th>\n",
       "      <td>0</td>\n",
       "      <td>0.459705</td>\n",
       "      <td>0.337051</td>\n",
       "      <td>0.186147</td>\n",
       "      <td>88150.776787-1</td>\n",
       "      <td>-142.869866</td>\n",
       "      <td>154.788121</td>\n",
       "      <td>684.981621</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.141761</td>\n",
       "      <td>0.192518</td>\n",
       "      <td>0.971000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.779709000</th>\n",
       "      <td>0</td>\n",
       "      <td>0.888789</td>\n",
       "      <td>0.543140</td>\n",
       "      <td>0.410668</td>\n",
       "      <td>88150.779709-0</td>\n",
       "      <td>38.942051</td>\n",
       "      <td>45.359863</td>\n",
       "      <td>705.232112</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.026087</td>\n",
       "      <td>0.041811</td>\n",
       "      <td>0.998785</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.779759000</th>\n",
       "      <td>0</td>\n",
       "      <td>0.550258</td>\n",
       "      <td>0.337923</td>\n",
       "      <td>0.173301</td>\n",
       "      <td>88150.779759-1</td>\n",
       "      <td>-141.879169</td>\n",
       "      <td>160.867779</td>\n",
       "      <td>683.893108</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.140397</td>\n",
       "      <td>0.200891</td>\n",
       "      <td>0.969501</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.787485000</th>\n",
       "      <td>1</td>\n",
       "      <td>0.502595</td>\n",
       "      <td>0.340109</td>\n",
       "      <td>0.142989</td>\n",
       "      <td>88150.787485-1</td>\n",
       "      <td>-139.404860</td>\n",
       "      <td>175.088321</td>\n",
       "      <td>681.151453</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.136989</td>\n",
       "      <td>0.220475</td>\n",
       "      <td>0.965725</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.787579999</th>\n",
       "      <td>1</td>\n",
       "      <td>0.625134</td>\n",
       "      <td>0.484139</td>\n",
       "      <td>0.385491</td>\n",
       "      <td>88150.78368299999-0 88150.79147699999-1</td>\n",
       "      <td>6.784204</td>\n",
       "      <td>-27.550520</td>\n",
       "      <td>-334.161525</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.041430</td>\n",
       "      <td>0.034837</td>\n",
       "      <td>0.998534</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.145087</td>\n",
       "      <td>0.230744</td>\n",
       "      <td>0.962137</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.789480500</th>\n",
       "      <td>1</td>\n",
       "      <td>0.625134</td>\n",
       "      <td>0.489687</td>\n",
       "      <td>0.392849</td>\n",
       "      <td>88150.787484-0 88150.79147699999-1</td>\n",
       "      <td>4.180437</td>\n",
       "      <td>-24.431546</td>\n",
       "      <td>-316.680240</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.052495</td>\n",
       "      <td>0.029825</td>\n",
       "      <td>0.998176</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.145087</td>\n",
       "      <td>0.230744</td>\n",
       "      <td>0.962137</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.793583500</th>\n",
       "      <td>1</td>\n",
       "      <td>0.625134</td>\n",
       "      <td>0.495993</td>\n",
       "      <td>0.399021</td>\n",
       "      <td>88150.79569-0 88150.79147699999-1</td>\n",
       "      <td>1.533100</td>\n",
       "      <td>-21.730862</td>\n",
       "      <td>-298.890441</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.065145</td>\n",
       "      <td>0.027374</td>\n",
       "      <td>0.997500</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.145087</td>\n",
       "      <td>0.230744</td>\n",
       "      <td>0.962137</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.795682500</th>\n",
       "      <td>1</td>\n",
       "      <td>0.706355</td>\n",
       "      <td>0.493975</td>\n",
       "      <td>0.408429</td>\n",
       "      <td>88150.79569-0 88150.795675-1</td>\n",
       "      <td>2.226758</td>\n",
       "      <td>-19.036160</td>\n",
       "      <td>-288.727225</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.065145</td>\n",
       "      <td>0.027374</td>\n",
       "      <td>0.997500</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.153085</td>\n",
       "      <td>0.220988</td>\n",
       "      <td>0.963187</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.798406499</th>\n",
       "      <td>1</td>\n",
       "      <td>0.708476</td>\n",
       "      <td>0.494116</td>\n",
       "      <td>0.407109</td>\n",
       "      <td>88150.79569-0 88150.801123-1</td>\n",
       "      <td>2.179629</td>\n",
       "      <td>-19.354530</td>\n",
       "      <td>-289.386597</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.065145</td>\n",
       "      <td>0.027374</td>\n",
       "      <td>0.997500</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.152523</td>\n",
       "      <td>0.222659</td>\n",
       "      <td>0.962891</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.801140000</th>\n",
       "      <td>1</td>\n",
       "      <td>0.708476</td>\n",
       "      <td>0.495145</td>\n",
       "      <td>0.408338</td>\n",
       "      <td>88150.801157-0 88150.801123-1</td>\n",
       "      <td>1.782444</td>\n",
       "      <td>-18.930993</td>\n",
       "      <td>-286.849309</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.067222</td>\n",
       "      <td>0.026625</td>\n",
       "      <td>0.997383</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.152523</td>\n",
       "      <td>0.222659</td>\n",
       "      <td>0.962891</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.802973499</th>\n",
       "      <td>1</td>\n",
       "      <td>0.839662</td>\n",
       "      <td>0.495216</td>\n",
       "      <td>0.403442</td>\n",
       "      <td>88150.801157-0 88150.80479-1</td>\n",
       "      <td>1.757366</td>\n",
       "      <td>-19.951730</td>\n",
       "      <td>-286.984799</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.067222</td>\n",
       "      <td>0.026625</td>\n",
       "      <td>0.997383</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.152228</td>\n",
       "      <td>0.229814</td>\n",
       "      <td>0.961255</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.804630500</th>\n",
       "      <td>1</td>\n",
       "      <td>0.791032</td>\n",
       "      <td>0.494728</td>\n",
       "      <td>0.405146</td>\n",
       "      <td>88150.804471-0 88150.80479-1</td>\n",
       "      <td>1.944664</td>\n",
       "      <td>-19.682136</td>\n",
       "      <td>-288.194181</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.066239</td>\n",
       "      <td>0.023518</td>\n",
       "      <td>0.997527</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.152228</td>\n",
       "      <td>0.229814</td>\n",
       "      <td>0.961255</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.807269499</th>\n",
       "      <td>1</td>\n",
       "      <td>0.856341</td>\n",
       "      <td>0.494777</td>\n",
       "      <td>0.404969</td>\n",
       "      <td>88150.809749-0 88150.80479-1</td>\n",
       "      <td>1.925755</td>\n",
       "      <td>-19.710658</td>\n",
       "      <td>-288.072115</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.066338</td>\n",
       "      <td>0.023840</td>\n",
       "      <td>0.997512</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.152228</td>\n",
       "      <td>0.229814</td>\n",
       "      <td>0.961255</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.809748500</th>\n",
       "      <td>1</td>\n",
       "      <td>0.856341</td>\n",
       "      <td>0.494888</td>\n",
       "      <td>0.402216</td>\n",
       "      <td>88150.809749-0 88150.809748-1</td>\n",
       "      <td>1.887678</td>\n",
       "      <td>-20.312303</td>\n",
       "      <td>-288.507800</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.066338</td>\n",
       "      <td>0.023840</td>\n",
       "      <td>0.997512</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.151781</td>\n",
       "      <td>0.233679</td>\n",
       "      <td>0.960394</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.812872999</th>\n",
       "      <td>2</td>\n",
       "      <td>0.856341</td>\n",
       "      <td>0.494809</td>\n",
       "      <td>0.402125</td>\n",
       "      <td>88150.809749-0 88150.815997-1</td>\n",
       "      <td>1.914321</td>\n",
       "      <td>-20.302480</td>\n",
       "      <td>-288.102445</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.066338</td>\n",
       "      <td>0.023840</td>\n",
       "      <td>0.997512</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.152094</td>\n",
       "      <td>0.233980</td>\n",
       "      <td>0.960271</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.814136000</th>\n",
       "      <td>2</td>\n",
       "      <td>0.716398</td>\n",
       "      <td>0.494057</td>\n",
       "      <td>0.401233</td>\n",
       "      <td>88150.81227499999-0 88150.815997-1</td>\n",
       "      <td>2.205674</td>\n",
       "      <td>-20.620175</td>\n",
       "      <td>-289.966778</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.064824</td>\n",
       "      <td>0.024375</td>\n",
       "      <td>0.997599</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.152094</td>\n",
       "      <td>0.233980</td>\n",
       "      <td>0.960271</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.815997500</th>\n",
       "      <td>2</td>\n",
       "      <td>0.836166</td>\n",
       "      <td>0.493629</td>\n",
       "      <td>0.400583</td>\n",
       "      <td>88150.81599799999-0 88150.815997-1</td>\n",
       "      <td>2.373377</td>\n",
       "      <td>-20.832665</td>\n",
       "      <td>-291.039161</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.063962</td>\n",
       "      <td>0.024893</td>\n",
       "      <td>0.997642</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.152094</td>\n",
       "      <td>0.233980</td>\n",
       "      <td>0.960271</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.818051000</th>\n",
       "      <td>2</td>\n",
       "      <td>0.836166</td>\n",
       "      <td>0.493772</td>\n",
       "      <td>0.400270</td>\n",
       "      <td>88150.81599799999-0 88150.820104-1</td>\n",
       "      <td>2.325815</td>\n",
       "      <td>-20.950335</td>\n",
       "      <td>-291.765325</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.063962</td>\n",
       "      <td>0.024893</td>\n",
       "      <td>0.997642</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.151527</td>\n",
       "      <td>0.234143</td>\n",
       "      <td>0.960321</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1970-01-02 00:29:10.821819000</th>\n",
       "      <td>2</td>\n",
       "      <td>0.861113</td>\n",
       "      <td>0.493453</td>\n",
       "      <td>0.399839</td>\n",
       "      <td>88150.823534-0 88150.820104-1</td>\n",
       "      <td>2.451823</td>\n",
       "      <td>-21.099370</td>\n",
       "      <td>-292.574406</td>\n",
       "      <td>20.000000</td>\n",
       "      <td>15.000000</td>\n",
       "      <td>-20.000000</td>\n",
       "      <td>0.063320</td>\n",
       "      <td>0.025199</td>\n",
       "      <td>0.997675</td>\n",
       "      <td>-39.934928</td>\n",
       "      <td>14.997919</td>\n",
       "      <td>-20.075283</td>\n",
       "      <td>-0.151527</td>\n",
       "      <td>0.234143</td>\n",
       "      <td>0.960321</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                               world_index  confidence  norm_pos_x  \\\n",
       "gaze_timestamp                                                       \n",
       "1970-01-02 00:29:10.776780000            0    0.828006    0.531433   \n",
       "1970-01-02 00:29:10.776787000            0    0.459705    0.337051   \n",
       "1970-01-02 00:29:10.779709000            0    0.888789    0.543140   \n",
       "1970-01-02 00:29:10.779759000            0    0.550258    0.337923   \n",
       "1970-01-02 00:29:10.787485000            1    0.502595    0.340109   \n",
       "1970-01-02 00:29:10.787579999            1    0.625134    0.484139   \n",
       "1970-01-02 00:29:10.789480500            1    0.625134    0.489687   \n",
       "1970-01-02 00:29:10.793583500            1    0.625134    0.495993   \n",
       "1970-01-02 00:29:10.795682500            1    0.706355    0.493975   \n",
       "1970-01-02 00:29:10.798406499            1    0.708476    0.494116   \n",
       "1970-01-02 00:29:10.801140000            1    0.708476    0.495145   \n",
       "1970-01-02 00:29:10.802973499            1    0.839662    0.495216   \n",
       "1970-01-02 00:29:10.804630500            1    0.791032    0.494728   \n",
       "1970-01-02 00:29:10.807269499            1    0.856341    0.494777   \n",
       "1970-01-02 00:29:10.809748500            1    0.856341    0.494888   \n",
       "1970-01-02 00:29:10.812872999            2    0.856341    0.494809   \n",
       "1970-01-02 00:29:10.814136000            2    0.716398    0.494057   \n",
       "1970-01-02 00:29:10.815997500            2    0.836166    0.493629   \n",
       "1970-01-02 00:29:10.818051000            2    0.836166    0.493772   \n",
       "1970-01-02 00:29:10.821819000            2    0.861113    0.493453   \n",
       "\n",
       "                               norm_pos_y  \\\n",
       "gaze_timestamp                              \n",
       "1970-01-02 00:29:10.776780000    0.397509   \n",
       "1970-01-02 00:29:10.776787000    0.186147   \n",
       "1970-01-02 00:29:10.779709000    0.410668   \n",
       "1970-01-02 00:29:10.779759000    0.173301   \n",
       "1970-01-02 00:29:10.787485000    0.142989   \n",
       "1970-01-02 00:29:10.787579999    0.385491   \n",
       "1970-01-02 00:29:10.789480500    0.392849   \n",
       "1970-01-02 00:29:10.793583500    0.399021   \n",
       "1970-01-02 00:29:10.795682500    0.408429   \n",
       "1970-01-02 00:29:10.798406499    0.407109   \n",
       "1970-01-02 00:29:10.801140000    0.408338   \n",
       "1970-01-02 00:29:10.802973499    0.403442   \n",
       "1970-01-02 00:29:10.804630500    0.405146   \n",
       "1970-01-02 00:29:10.807269499    0.404969   \n",
       "1970-01-02 00:29:10.809748500    0.402216   \n",
       "1970-01-02 00:29:10.812872999    0.402125   \n",
       "1970-01-02 00:29:10.814136000    0.401233   \n",
       "1970-01-02 00:29:10.815997500    0.400583   \n",
       "1970-01-02 00:29:10.818051000    0.400270   \n",
       "1970-01-02 00:29:10.821819000    0.399839   \n",
       "\n",
       "                                                             base_data  \\\n",
       "gaze_timestamp                                                           \n",
       "1970-01-02 00:29:10.776780000                            88150.77678-0   \n",
       "1970-01-02 00:29:10.776787000                           88150.776787-1   \n",
       "1970-01-02 00:29:10.779709000                           88150.779709-0   \n",
       "1970-01-02 00:29:10.779759000                           88150.779759-1   \n",
       "1970-01-02 00:29:10.787485000                           88150.787485-1   \n",
       "1970-01-02 00:29:10.787579999  88150.78368299999-0 88150.79147699999-1   \n",
       "1970-01-02 00:29:10.789480500       88150.787484-0 88150.79147699999-1   \n",
       "1970-01-02 00:29:10.793583500        88150.79569-0 88150.79147699999-1   \n",
       "1970-01-02 00:29:10.795682500             88150.79569-0 88150.795675-1   \n",
       "1970-01-02 00:29:10.798406499             88150.79569-0 88150.801123-1   \n",
       "1970-01-02 00:29:10.801140000            88150.801157-0 88150.801123-1   \n",
       "1970-01-02 00:29:10.802973499             88150.801157-0 88150.80479-1   \n",
       "1970-01-02 00:29:10.804630500             88150.804471-0 88150.80479-1   \n",
       "1970-01-02 00:29:10.807269499             88150.809749-0 88150.80479-1   \n",
       "1970-01-02 00:29:10.809748500            88150.809749-0 88150.809748-1   \n",
       "1970-01-02 00:29:10.812872999            88150.809749-0 88150.815997-1   \n",
       "1970-01-02 00:29:10.814136000       88150.81227499999-0 88150.815997-1   \n",
       "1970-01-02 00:29:10.815997500       88150.81599799999-0 88150.815997-1   \n",
       "1970-01-02 00:29:10.818051000       88150.81599799999-0 88150.820104-1   \n",
       "1970-01-02 00:29:10.821819000            88150.823534-0 88150.820104-1   \n",
       "\n",
       "                               gaze_point_3d_x  gaze_point_3d_y  \\\n",
       "gaze_timestamp                                                    \n",
       "1970-01-02 00:29:10.776780000        28.369753        52.033135   \n",
       "1970-01-02 00:29:10.776787000      -142.869866       154.788121   \n",
       "1970-01-02 00:29:10.779709000        38.942051        45.359863   \n",
       "1970-01-02 00:29:10.779759000      -141.879169       160.867779   \n",
       "1970-01-02 00:29:10.787485000      -139.404860       175.088321   \n",
       "1970-01-02 00:29:10.787579999         6.784204       -27.550520   \n",
       "1970-01-02 00:29:10.789480500         4.180437       -24.431546   \n",
       "1970-01-02 00:29:10.793583500         1.533100       -21.730862   \n",
       "1970-01-02 00:29:10.795682500         2.226758       -19.036160   \n",
       "1970-01-02 00:29:10.798406499         2.179629       -19.354530   \n",
       "1970-01-02 00:29:10.801140000         1.782444       -18.930993   \n",
       "1970-01-02 00:29:10.802973499         1.757366       -19.951730   \n",
       "1970-01-02 00:29:10.804630500         1.944664       -19.682136   \n",
       "1970-01-02 00:29:10.807269499         1.925755       -19.710658   \n",
       "1970-01-02 00:29:10.809748500         1.887678       -20.312303   \n",
       "1970-01-02 00:29:10.812872999         1.914321       -20.302480   \n",
       "1970-01-02 00:29:10.814136000         2.205674       -20.620175   \n",
       "1970-01-02 00:29:10.815997500         2.373377       -20.832665   \n",
       "1970-01-02 00:29:10.818051000         2.325815       -20.950335   \n",
       "1970-01-02 00:29:10.821819000         2.451823       -21.099370   \n",
       "\n",
       "                               gaze_point_3d_z  eye_center0_3d_x  \\\n",
       "gaze_timestamp                                                     \n",
       "1970-01-02 00:29:10.776780000       705.121116         20.000000   \n",
       "1970-01-02 00:29:10.776787000       684.981621        -39.934928   \n",
       "1970-01-02 00:29:10.779709000       705.232112         20.000000   \n",
       "1970-01-02 00:29:10.779759000       683.893108        -39.934928   \n",
       "1970-01-02 00:29:10.787485000       681.151453        -39.934928   \n",
       "1970-01-02 00:29:10.787579999      -334.161525         20.000000   \n",
       "1970-01-02 00:29:10.789480500      -316.680240         20.000000   \n",
       "1970-01-02 00:29:10.793583500      -298.890441         20.000000   \n",
       "1970-01-02 00:29:10.795682500      -288.727225         20.000000   \n",
       "1970-01-02 00:29:10.798406499      -289.386597         20.000000   \n",
       "1970-01-02 00:29:10.801140000      -286.849309         20.000000   \n",
       "1970-01-02 00:29:10.802973499      -286.984799         20.000000   \n",
       "1970-01-02 00:29:10.804630500      -288.194181         20.000000   \n",
       "1970-01-02 00:29:10.807269499      -288.072115         20.000000   \n",
       "1970-01-02 00:29:10.809748500      -288.507800         20.000000   \n",
       "1970-01-02 00:29:10.812872999      -288.102445         20.000000   \n",
       "1970-01-02 00:29:10.814136000      -289.966778         20.000000   \n",
       "1970-01-02 00:29:10.815997500      -291.039161         20.000000   \n",
       "1970-01-02 00:29:10.818051000      -291.765325         20.000000   \n",
       "1970-01-02 00:29:10.821819000      -292.574406         20.000000   \n",
       "\n",
       "                               eye_center0_3d_y  eye_center0_3d_z  \\\n",
       "gaze_timestamp                                                      \n",
       "1970-01-02 00:29:10.776780000         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.776787000         14.997919        -20.075283   \n",
       "1970-01-02 00:29:10.779709000         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.779759000         14.997919        -20.075283   \n",
       "1970-01-02 00:29:10.787485000         14.997919        -20.075283   \n",
       "1970-01-02 00:29:10.787579999         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.789480500         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.793583500         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.795682500         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.798406499         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.801140000         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.802973499         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.804630500         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.807269499         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.809748500         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.812872999         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.814136000         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.815997500         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.818051000         15.000000        -20.000000   \n",
       "1970-01-02 00:29:10.821819000         15.000000        -20.000000   \n",
       "\n",
       "                               gaze_normal0_x  gaze_normal0_y  gaze_normal0_z  \\\n",
       "gaze_timestamp                                                                  \n",
       "1970-01-02 00:29:10.776780000        0.011527        0.051002        0.998632   \n",
       "1970-01-02 00:29:10.776787000       -0.141761        0.192518        0.971000   \n",
       "1970-01-02 00:29:10.779709000        0.026087        0.041811        0.998785   \n",
       "1970-01-02 00:29:10.779759000       -0.140397        0.200891        0.969501   \n",
       "1970-01-02 00:29:10.787485000       -0.136989        0.220475        0.965725   \n",
       "1970-01-02 00:29:10.787579999        0.041430        0.034837        0.998534   \n",
       "1970-01-02 00:29:10.789480500        0.052495        0.029825        0.998176   \n",
       "1970-01-02 00:29:10.793583500        0.065145        0.027374        0.997500   \n",
       "1970-01-02 00:29:10.795682500        0.065145        0.027374        0.997500   \n",
       "1970-01-02 00:29:10.798406499        0.065145        0.027374        0.997500   \n",
       "1970-01-02 00:29:10.801140000        0.067222        0.026625        0.997383   \n",
       "1970-01-02 00:29:10.802973499        0.067222        0.026625        0.997383   \n",
       "1970-01-02 00:29:10.804630500        0.066239        0.023518        0.997527   \n",
       "1970-01-02 00:29:10.807269499        0.066338        0.023840        0.997512   \n",
       "1970-01-02 00:29:10.809748500        0.066338        0.023840        0.997512   \n",
       "1970-01-02 00:29:10.812872999        0.066338        0.023840        0.997512   \n",
       "1970-01-02 00:29:10.814136000        0.064824        0.024375        0.997599   \n",
       "1970-01-02 00:29:10.815997500        0.063962        0.024893        0.997642   \n",
       "1970-01-02 00:29:10.818051000        0.063962        0.024893        0.997642   \n",
       "1970-01-02 00:29:10.821819000        0.063320        0.025199        0.997675   \n",
       "\n",
       "                               eye_center1_3d_x  eye_center1_3d_y  \\\n",
       "gaze_timestamp                                                      \n",
       "1970-01-02 00:29:10.776780000               NaN               NaN   \n",
       "1970-01-02 00:29:10.776787000               NaN               NaN   \n",
       "1970-01-02 00:29:10.779709000               NaN               NaN   \n",
       "1970-01-02 00:29:10.779759000               NaN               NaN   \n",
       "1970-01-02 00:29:10.787485000               NaN               NaN   \n",
       "1970-01-02 00:29:10.787579999        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.789480500        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.793583500        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.795682500        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.798406499        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.801140000        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.802973499        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.804630500        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.807269499        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.809748500        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.812872999        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.814136000        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.815997500        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.818051000        -39.934928         14.997919   \n",
       "1970-01-02 00:29:10.821819000        -39.934928         14.997919   \n",
       "\n",
       "                               eye_center1_3d_z  gaze_normal1_x  \\\n",
       "gaze_timestamp                                                    \n",
       "1970-01-02 00:29:10.776780000               NaN             NaN   \n",
       "1970-01-02 00:29:10.776787000               NaN             NaN   \n",
       "1970-01-02 00:29:10.779709000               NaN             NaN   \n",
       "1970-01-02 00:29:10.779759000               NaN             NaN   \n",
       "1970-01-02 00:29:10.787485000               NaN             NaN   \n",
       "1970-01-02 00:29:10.787579999        -20.075283       -0.145087   \n",
       "1970-01-02 00:29:10.789480500        -20.075283       -0.145087   \n",
       "1970-01-02 00:29:10.793583500        -20.075283       -0.145087   \n",
       "1970-01-02 00:29:10.795682500        -20.075283       -0.153085   \n",
       "1970-01-02 00:29:10.798406499        -20.075283       -0.152523   \n",
       "1970-01-02 00:29:10.801140000        -20.075283       -0.152523   \n",
       "1970-01-02 00:29:10.802973499        -20.075283       -0.152228   \n",
       "1970-01-02 00:29:10.804630500        -20.075283       -0.152228   \n",
       "1970-01-02 00:29:10.807269499        -20.075283       -0.152228   \n",
       "1970-01-02 00:29:10.809748500        -20.075283       -0.151781   \n",
       "1970-01-02 00:29:10.812872999        -20.075283       -0.152094   \n",
       "1970-01-02 00:29:10.814136000        -20.075283       -0.152094   \n",
       "1970-01-02 00:29:10.815997500        -20.075283       -0.152094   \n",
       "1970-01-02 00:29:10.818051000        -20.075283       -0.151527   \n",
       "1970-01-02 00:29:10.821819000        -20.075283       -0.151527   \n",
       "\n",
       "                               gaze_normal1_y  gaze_normal1_z  \n",
       "gaze_timestamp                                                 \n",
       "1970-01-02 00:29:10.776780000             NaN             NaN  \n",
       "1970-01-02 00:29:10.776787000             NaN             NaN  \n",
       "1970-01-02 00:29:10.779709000             NaN             NaN  \n",
       "1970-01-02 00:29:10.779759000             NaN             NaN  \n",
       "1970-01-02 00:29:10.787485000             NaN             NaN  \n",
       "1970-01-02 00:29:10.787579999        0.230744        0.962137  \n",
       "1970-01-02 00:29:10.789480500        0.230744        0.962137  \n",
       "1970-01-02 00:29:10.793583500        0.230744        0.962137  \n",
       "1970-01-02 00:29:10.795682500        0.220988        0.963187  \n",
       "1970-01-02 00:29:10.798406499        0.222659        0.962891  \n",
       "1970-01-02 00:29:10.801140000        0.222659        0.962891  \n",
       "1970-01-02 00:29:10.802973499        0.229814        0.961255  \n",
       "1970-01-02 00:29:10.804630500        0.229814        0.961255  \n",
       "1970-01-02 00:29:10.807269499        0.229814        0.961255  \n",
       "1970-01-02 00:29:10.809748500        0.233679        0.960394  \n",
       "1970-01-02 00:29:10.812872999        0.233980        0.960271  \n",
       "1970-01-02 00:29:10.814136000        0.233980        0.960271  \n",
       "1970-01-02 00:29:10.815997500        0.233980        0.960271  \n",
       "1970-01-02 00:29:10.818051000        0.234143        0.960321  \n",
       "1970-01-02 00:29:10.821819000        0.234143        0.960321  "
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "n5[:20]"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
